//更改字体大小
var status0='';
var curfontsize=10;
var curlineheight=18;
function fontZoomA(){
	if(curfontsize>8){
		document.getElementById('ccont').style.fontSize=(--curfontsize)+'pt';
		document.getElementById('ccont').style.lineHeight=(--curlineheight)+'pt';
	}
}
function fontZoomB(){
	if(curfontsize<64){
		document.getElementById('ccont').style.fontSize=(++curfontsize)+'pt';
		document.getElementById('ccont').style.lineHeight=(++curlineheight)+'pt';
	}
}

	function newgdcode(obj,url) {
		//后面传递一个随机参数，否则在IE7和火狐下，不刷新图片
		obj.src = url+ '&nowtime=' + new Date().getTime();
	}





function setCom(obj, num, cid) {
	var url="index.php?a=support&action="+num+"&cid="+cid;
	var ajax=Ajax();
	ajax.get(url, function(data){
		obj.innerHTML=data;
	});
}

function quote(quoteid, cid){
	var quoteObj=document.getElementById(quoteid);

	quoteObj.value=cid;

	alert("引用成功，直接发布评论即可引用该帖");
}



